<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:a="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich"
    template="layout/templateik.xhtml">

<ui:define name="body">

    <h:form id="ayrilmaKodlari" styleClass="edit">

        <rich:panel style="height:500px;">
            <f:facet name="header">Özgeçmiş Bilgileri</f:facet>

<h:outputText value="HOŞ GELDİNİZ"  styleClass="txtBaslik"/>
            <s:decorate id="adiField" template="layout/edit.xhtml">
                <ui:define name="label">Ad</ui:define>
                <h:inputText id="adi"
                       required="true"
                           size="100"
                      maxlength="100"
                          value="#{kullaniciHome.instance.adi}" styleClass="adGenislik">
                    <a:support event="onblur" reRender="adiField" bypassUpdates="true" ajaxSingle="true"/>
                </h:inputText>
            </s:decorate>


            <s:decorate id="soyadiField" template="layout/edit.xhtml">
                <ui:define name="label">Soyad</ui:define>
                <h:inputText id="soyadi"
                       required="true"
                           size="100"
                      maxlength="100"
                          value="#{kullaniciHome.instance.soyadi}" styleClass="adGenislik">
                    <a:support event="onblur" reRender="soyadiField" bypassUpdates="true" ajaxSingle="true"/>
                </h:inputText>
            </s:decorate>
               <s:decorate id="kullaniciAdiField" template="layout/edit.xhtml">
                <ui:define name="label">Kullanıcı Adı</ui:define>
                <h:inputText id="userNameID"
                       required="true"
                           size="100"
                      maxlength="100"
                          value="#{kullaniciHome.userName}" styleClass="adGenislik">
                        <!--   <f:validator validatorId="kullaniciAdiValidate" />  -->
                    <a:support event="onblur"    reRender="kullaniciAdiField" bypassUpdates="true" ajaxSingle="true"/>
                </h:inputText>
            </s:decorate>
            
                  <s:decorate id="sifreField" template="layout/edit.xhtml">
                <ui:define name="label">Şifre</ui:define>
                 <h:inputSecret  id="sifre"
                       required="true"
                           size="100"
                      maxlength="100"
                          value="#{kullaniciHome.kullaniciHesap.passwordHash}" styleClass="adGenislik">
                    <a:support event="onblur" reRender="sifreField" bypassUpdates="true" ajaxSingle="true"/>
             </h:inputSecret>
            </s:decorate>
            
                     <s:decorate id="sifreConfirmField" template="layout/edit.xhtml">
                <ui:define name="label">Şifre Tekrar</ui:define>
                 <h:inputSecret  id="sifreTekrar"
                       required="true"
                           size="100"
                      maxlength="100"
                          value="#{kullaniciHome.confirm}" styleClass="adGenislik">
                    <a:support event="onblur" reRender="sifreConfirmField" bypassUpdates="true" ajaxSingle="true"/>
             </h:inputSecret>
            </s:decorate>

             <div style="clear:both">
                <span class="required">*</span>
                Zorunlu Alanlar
            </div>

        </rich:panel>

        <div class="actionButtons">

            <h:commandButton id="save" styleClass="buttonImage" 
                          value="#{messages.btnKaydetVeDevam}"
                         action="#{kullaniciHome.doIK01}"         />
 
    
        </div>
    </h:form>

 
</ui:define>

</ui:composition>
